#ifndef GUIDEFORM_H
#define GUIDEFORM_H

#include <QWidget>
#include <QtCharts/QPieSeries>
#include <QScatterSeries>
#include <QMessageBox>



namespace Ui {
class GuideForm;
}

QT_CHARTS_USE_NAMESPACE
class GuideForm : public QWidget
{
    Q_OBJECT

public:
    explicit GuideForm(QWidget *parent = nullptr);
    ~GuideForm();
    void drawPieChart();
     //绘制施工曲线点图
    void drawLineChart();
    //设置窗体主题
    void updateUI(int theme);
    void figureDrillPosition(float courseAngle, float pitchAngle, float drillLength);
  //  void renderData(int i);

private slots:
    void on_pushButton_2_clicked();


private:
    Ui::GuideForm *ui;
    int xPos = 0;

    QScatterSeries* series1;
    float x = 0, y = 0 , z = 0;

};

#endif // GUIDEFORM_H
